package ATM.gui;

import javax.swing.JPanel;
import javax.swing.JLabel;
import javax.swing.JTextField;

public class EditCustomer extends JPanel {
	private JTextField textField;
	Screen screen;

	/**
	 * Create the panel.
	 */
	public EditCustomer(Screen screen) {
		this.screen = screen;
		setLayout(null);
		
		JLabel lblEditCustomer = new JLabel("Edit Customer");
		lblEditCustomer.setBounds(47, 11, 97, 14);
		add(lblEditCustomer);
		
		JLabel lblSelectTheCustomer = new JLabel("Type in the customers ID number of the customer you want to edit ");
		lblSelectTheCustomer.setBounds(10, 36, 328, 14);
		add(lblSelectTheCustomer);
		
		textField = new JTextField();
		textField.setBounds(10, 55, 86, 20);
		add(textField);
		textField.setColumns(10);
		
		JLabel image = (new JLabel(screen.getVariables().getImage1() ));
		image.setBounds(0, 0, 640, 480);
		add(image);

	}
}
